package com.battery.system.domain.VO;

import com.battery.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class MerchantVO {

    @Excel(name = "商户编号")
    private String id;

    private String code;

    @Excel(name = "主体", dictType = "sys_partner_type")
    private Integer subjectType;

    @Excel(name = "姓名")
    private String fullName;

    @Excel(name = "联系方式")
    private String phone;

    @Excel(name = "分成比例", suffix = "%")
    private Integer shareRatio;

    @Excel(name = "签约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signingTime;

    private String projectId;

    private String partnerId;

    @Excel(name = "直营合作商")
    private String partnerFullName;

    @Excel(name = "可提现金额", isStatistics = true)
    private BigDecimal cashoutMoney;

    @Excel(name = "已冻结金额", isStatistics = true)
    private BigDecimal frozenMoney;

    @Excel(name = "商户总收益", isStatistics = true)
    private BigDecimal totalRevenue;

    private int deatilAbility;

    private BigDecimal preCost;

    public BigDecimal getPreCost() {
        return preCost;
    }

    public void setPreCost(BigDecimal preCost) {
        this.preCost = preCost;
    }

    public int getDeatilAbility() {
        return deatilAbility;
    }

    public void setDeatilAbility(int deatilAbility) {
        this.deatilAbility = deatilAbility;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(Integer subjectType) {
        this.subjectType = subjectType;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getShareRatio() {
        return shareRatio;
    }

    public void setShareRatio(Integer shareRatio) {
        this.shareRatio = shareRatio;
    }

    public Date getSigningTime() {
        return signingTime;
    }

    public void setSigningTime(Date signingTime) {
        this.signingTime = signingTime;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getPartnerFullName() {
        return partnerFullName;
    }

    public void setPartnerFullName(String partnerFullName) {
        this.partnerFullName = partnerFullName;
    }

    public BigDecimal getCashoutMoney() {
        return cashoutMoney;
    }

    public void setCashoutMoney(BigDecimal cashoutMoney) {
        this.cashoutMoney = cashoutMoney;
    }

    public BigDecimal getFrozenMoney() {
        return frozenMoney;
    }

    public void setFrozenMoney(BigDecimal frozenMoney) {
        this.frozenMoney = frozenMoney;
    }


    public BigDecimal getTotalRevenue() {
        return totalRevenue;
    }

    public void setTotalRevenue(BigDecimal totalRevenue) {
        this.totalRevenue = totalRevenue;
    }

}
